summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-10 19:02:38 +0100
committerLiam <byteslice@airmail.cc>2022-12-10 19:02:38 +0100
commit985ed1e160d6f5ed32db8087190eba742ed40d78 (patch)
tree4e05523170de2581895eba1cccee28a010712e45
parentMerge pull request #9412 from Saalvage/fix/trace-log-compilation (diff)
downloadyuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.tar
yuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.tar.gz
yuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.tar.bz2
yuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.tar.lz
yuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.tar.xz
yuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.tar.zst
yuzu-985ed1e160d6f5ed32db8087190eba742ed40d78.zip
-rw-r--r--src/core/memory.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index 3141122f1..b3f50223b 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -195,13 +195,11 @@ struct Memory::Impl {
break;
}
case Common::PageType::Memory: {
- DEBUG_ASSERT(pointer);
u8* mem_ptr = pointer + page_offset + (page_index << YUZU_PAGEBITS);
on_memory(copy_amount, mem_ptr);
break;
}
case Common::PageType::DebugMemory: {
- DEBUG_ASSERT(pointer);
u8* const mem_ptr{GetPointerFromDebugMemory(current_vaddr)};
on_memory(copy_amount, mem_ptr);
break;